package b面向对象.day3.demo7_this与supper;

public class A {
    String name;

    public A() {
        System.out.println("父类中无参构造...");
    }

    A(String name) {
        this();
        System.out.println("两个参数的父类构造....");
        this.name = name;
    }

    void show(){
        this.name="aa";
    }
}